﻿using MediatR;
using Warehouse.ErrorCode;

namespace Warehouse.Api.Write.AllCation.Command.Stoking
{
    public class AddStockingCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 入库单类型
        /// </summary>
        public int STId { get; set; }
        /// <summary>
        ///入库关联订单
        /// </summary>
        public string? AssociatedOrderNumber { get; set; }
        /// <summary>
        /// 供应商订单编号 需要获取供应商信息
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 供应商名称 根据供应商编号反填
        /// </summary>
        public string ?SupplierName { get; set; }
        /// <summary>
        /// 供应商联系方式 根据供应商编号反填
        /// </summary>
        public string ?SupplierPhone { get; set; }
        /// <summary>
        /// 批次Id
        /// </summary>
        public string? Bacth { get; set; }
        /// <summary>
        /// 制单人 根据登录人反填
        /// </summary>
        public string? PreparedName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime PreparedTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 供应商联系人
        /// </summary>
        public string? SupplierContacts { get; set; }
        /// <summary>
        /// 入库的单号
        /// </summary>
        public string? Code { get; set; }



    }
}
